[pull] main from liveblocks:main - #305
Merged
Merged
Conversation
…d authoritative position on duplicate CREATE ops (PR 1779) When a client reconnects after losing the server's ack, it re-sends any still-pending ops. For a `LiveList` push, the server had already stored the node, so the re-sent CREATE was silently ignored with a bare ack. The client's local position prediction for that pushed item was never corrected, causing permanent divergence. Now, when the server detects a duplicate CREATE with `intent: "push"` on a node whose parent is a LIST, it returns a new `rectified` outcome instead of bare-ignoring it: an ack echo carrying the stored authoritative `parentKey` plus a `SET_PARENT_KEY` fix op, so the originating client can reconcile its optimistic local position. The `rectified` reply goes only to the sender; others already saw the op when it was originally accepted. Original commit: c4f7f0051a63a0b9225176902bc77e38663294bc
…(PR 1780) Original commit: 67d97e2d7e9c26415c9ff4493ee12f2a38ffb7e0
Original commit: a3355c36b28f76ccc7805e1421e0fe6c82df8519
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )